import request from '@/utils/request'

// 查询操作日志列表
export function listIlog(query) {
  return request({
    url: '/investprod/ilog/list',
    method: 'get',
    params: query
  })
}

// 查询操作日志详细
export function getIlog(logId) {
  return request({
    url: '/investprod/ilog/' + logId,
    method: 'get'
  })
}

// 新增操作日志
export function addIlog(data) {
  return request({
    url: '/investprod/ilog',
    method: 'post',
    data
  })
}

// 修改操作日志
export function updateIlog(data) {
  return request({
    url: '/investprod/ilog',
    method: 'put',
    data
  })
}

// 删除操作日志
export function delIlog(logId) {
  return request({
    url: '/investprod/ilog/' + logId,
    method: 'delete'
  })
}
